QT += core serialport xml network multimedia axcontainer script
QT -= gui

CONFIG += c++11

TARGET = TamiServerCore
CONFIG += console
CONFIG -= app_bundle

TEMPLATE = app

DESTDIR += ../Out

SOURCES += main.cpp \
    RobotDef.cpp \
    robotmotori.cpp \
    tmglobaldef.cpp \
    robotjsoni.cpp \
    robotaudioi.cpp \
    robotconfigi.cpp \
    robotpubi.cpp \
#    robotscripti.cpp
    robotfilemgri.cpp \
    tmasranswer.cpp

HEADERS += \
    RobotDef.h \
    robotmotori.h \
    tmglobaldef.h \
    robotjsoni.h \
    robotaudioi.h \
    robotconfigi.h \
    robotpubi.h \
#    robotscripti.h
    robotfilemgri.h \
    res.rc \
    tmasranswer.h

LIBS += -lWinmm -lOle32

# zeroc lib config
win32:CONFIG(release, debug|release): LIBS += -LC:/ZeroC/Ice-3.6.3/lib/vc140 -lice -licegrid
else:win32:CONFIG(debug, debug|release): LIBS += -LC:/ZeroC/Ice-3.6.3/lib/vc140 -liced -licegridd

INCLUDEPATH += C:/ZeroC/Ice-3.6.3/include
DEPENDPATH += C:/ZeroC/Ice-3.6.3/include

DISTFILES += \
    ../RobotDef.ice \
    core.ico

RC_FILE += res.rc

# libkdxf
win32: LIBS += -L$$PWD/libkdxf/ -lsharedlib_kdxf

INCLUDEPATH += $$PWD/libkdxf
DEPENDPATH += $$PWD/libkdxf

# libSysConfig
win32: LIBS += -L$$PWD/libTmSysConfig/ -lTmSysConfig

INCLUDEPATH += $$PWD/libTmSysConfig
DEPENDPATH += $$PWD/libTmSysConfig
